package com.hyl.entity;

/**
 * Student
 *
 * @author hyl
 * @date 2025-06-06
 */
public  class Student extends BaseEntity implements java.io.Serializable {
    // Constructors
    public Student() { }
    private Student(Integer id, String stuName) {
        this.id = id;
        this.stuName = stuName;
    }
    protected Student(String stuName) {
        this.stuName = stuName;
    }

    // Fields
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String stuName;
    public String msg;
    protected String tmp;


    //Methods
    public void show(){
        System.out.println("Student.show()");
        System.out.println("name = " + stuName);
    }

    private void showMsg(String msg){
        System.out.println("Student.showMsg()");
        System.out.println("msg = " + msg);
    }
    protected void showTmp(String tmp,String msg){
        System.out.println("Student.showTmp()");
        System.out.println("tmp = " + tmp+",msg = " + msg);
    }
    private String getMsg(){
        return "Student.getMsg()";
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        System.out.println("11");
        this.stuName = stuName;
    }
}
